I can't initialize the string, why is that? It gives the error in the title, but why does it give error? I give it more than enough space to store the string why is it whining?
Code:#include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct { int phoneNumber; char name[80]; }People; int main() { People TeC[2]; TeC[0].name = "David"; }